package entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class h_transaction {
    private String ho_transaction_id;
    private String ho_transaction_name;//酒店名称
    private String ho_transaction_star;//星级
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ho_transaction_tome;//交易时间
    private int ho_transaction_payment;//付款方式
    private int ho_transaction_days;//入住天数
    private String ho_transaction_roomnum;//房间号
    private Double ho_transaction_turnover;//交易额
    private String ho_transaction_phone;//联系电话
    private String ho_transaction_remarks;//备注

    public String getHo_transaction_id() {
        return ho_transaction_id;
    }

    public void setHo_transaction_id(String ho_transaction_id) {
        this.ho_transaction_id = ho_transaction_id;
    }

    public String getHo_transaction_name() {
        return ho_transaction_name;
    }

    public void setHo_transaction_name(String ho_transaction_name) {
        this.ho_transaction_name = ho_transaction_name;
    }

    public String getHo_transaction_star() {
        return ho_transaction_star;
    }

    public void setHo_transaction_star(String ho_transaction_star) {
        this.ho_transaction_star = ho_transaction_star;
    }

    public Date getHo_transaction_tome() {
        return ho_transaction_tome;
    }

    public void setHo_transaction_tome(Date ho_transaction_tome) {
        this.ho_transaction_tome = ho_transaction_tome;
    }

    public int getHo_transaction_payment() {
        return ho_transaction_payment;
    }

    public void setHo_transaction_payment(int ho_transaction_payment) {
        this.ho_transaction_payment = ho_transaction_payment;
    }

    public int getHo_transaction_days() {
        return ho_transaction_days;
    }

    public void setHo_transaction_days(int ho_transaction_days) {
        this.ho_transaction_days = ho_transaction_days;
    }

    public String getHo_transaction_roomnum() {
        return ho_transaction_roomnum;
    }

    public void setHo_transaction_roomnum(String ho_transaction_roomnum) {
        this.ho_transaction_roomnum = ho_transaction_roomnum;
    }

    public Double getHo_transaction_turnover() {
        return ho_transaction_turnover;
    }

    public void setHo_transaction_turnover(Double ho_transaction_turnover) {
        this.ho_transaction_turnover = ho_transaction_turnover;
    }

    public String getHo_transaction_phone() {
        return ho_transaction_phone;
    }

    public void setHo_transaction_phone(String ho_transaction_phone) {
        this.ho_transaction_phone = ho_transaction_phone;
    }

    public String getHo_transaction_remarks() {
        return ho_transaction_remarks;
    }

    public void setHo_transaction_remarks(String ho_transaction_remarks) {
        this.ho_transaction_remarks = ho_transaction_remarks;
    }

    @Override
    public String toString() {
        return "h_transaction{" +
                "ho_transaction_id='" + ho_transaction_id + '\'' +
                ", ho_transaction_name='" + ho_transaction_name + '\'' +
                ", ho_transaction_star='" + ho_transaction_star + '\'' +
                ", ho_transaction_tome=" + ho_transaction_tome +
                ", ho_transaction_payment=" + ho_transaction_payment +
                ", ho_transaction_days=" + ho_transaction_days +
                ", ho_transaction_roomnum='" + ho_transaction_roomnum + '\'' +
                ", ho_transaction_turnover=" + ho_transaction_turnover +
                ", ho_transaction_phone='" + ho_transaction_phone + '\'' +
                ", ho_transaction_remarks='" + ho_transaction_remarks + '\'' +
                '}';
    }
}
